package com.xianzhiOA.bean;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/4/13.
 */
public class XzAttendance {
    private long attendanceId;
    private int empNo;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstTime; //当天上班时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastTime;  //当天下班时间
    private String field1;
    private String field2;
    private String field3;
    private Date deleteTime;
    private Integer isdelete;
    private Date    createTime;
    private XzEmp xzEmps;
    private Date date;      //当天日期
    private int state;      //当天状态


    @Override
    public String toString() {
        return "XzAttendance{" +
                "attendanceId=" + attendanceId +
                ", empNo=" + empNo +
                ", firstTime=" + firstTime +
                ", lastTime=" + lastTime +
                ", field1='" + field1 + '\'' +
                ", field2='" + field2 + '\'' +
                ", field3='" + field3 + '\'' +
                ", deleteTime=" + deleteTime +
                ", isdelete=" + isdelete +
                ", createTime=" + createTime +
                ", xzEmps=" + xzEmps +
                ", date=" + date +
                ", state=" + state +
                '}';
    }

    public long getAttendanceId() {
        return attendanceId;
    }

    public void setAttendanceId(long attendanceId) {
        this.attendanceId = attendanceId;
    }

    public int getEmpNo() {
        return empNo;
    }

    public void setEmpNo(int empNo) {
        this.empNo = empNo;
    }

    public Date getFirstTime() {
        return firstTime;
    }

    public void setFirstTime(Date firstTime) {
        this.firstTime = firstTime;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public XzEmp getXzEmps() {
        return xzEmps;
    }

    public void setXzEmps(XzEmp xzEmps) {
        this.xzEmps = xzEmps;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
